www.gusucode.com > VC++ 仿SQLServer企业管理器的SQL客户端工具-源码程序 > VC++ 仿SQLServer企业管理器的SQL客户端工具-源码程序/code/frontToolDoc.cpp

    // frontToolDoc.cpp : implementation of the CFrontToolDoc class
// Download by http://www.NewXing.com

#include "stdafx.h"
#include "frontTool.h"

#include "frontToolDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CFrontToolDoc

IMPLEMENT_DYNCREATE(CFrontToolDoc, CDocument)

BEGIN_MESSAGE_MAP(CFrontToolDoc, CDocument)
	//{{AFX_MSG_MAP(CFrontToolDoc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CFrontToolDoc construction/destruction

CFrontToolDoc::CFrontToolDoc()
{
	// TODO: add one-time construction code here

}

CFrontToolDoc::~CFrontToolDoc()
{
}

BOOL CFrontToolDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CFrontToolDoc serialization

void CFrontToolDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CFrontToolDoc diagnostics

#ifdef _DEBUG
void CFrontToolDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CFrontToolDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CFrontToolDoc commands